
window.addEvent("domready", function() {
    var bio = $("id_bio")
    bio.set("cols", "40").set("rows", "3")
    
    var BIO_MAX = 400
    
    appendNode(bio, BIO_MAX)
    
    bio.addEvents({
        "click":function(){
            countCharacters(bio, BIO_MAX)
        },
        "keyup":function() {
            countCharacters(bio, BIO_MAX)
        },
    })
})
